package com.wolf.service.impl;

import com.wolf.pojo.Wl_order;
import com.wolf.repository.Wl_categoryMapper;
import com.wolf.repository.Wl_orderMapper;
import com.wolf.service.Wl_orderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
@Service
public class Wl_orderServiceImpl implements Wl_orderService
{

    private Wl_orderMapper wl_categoryMapper;

    @Autowired
    public void setWl_categoryMapper(Wl_orderMapper wl_categoryMapper) {
        this.wl_categoryMapper = wl_categoryMapper;
    }



    @Override
    public int deleteByPrimaryKey(String id) {
        return 0;
    }

    @Override
    public int insert(Wl_order record) {
        return 0;
    }

    @Override
    public int insertSelective(Wl_order record) {
        return 0;
    }

    @Override
    public Wl_order selectByPrimaryKey(String id) {
        return wl_categoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_order record) {
        return wl_categoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Wl_order record) {
        return wl_categoryMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_order> getAll() {
        return wl_categoryMapper.getAll();
    }

    @Override
    public List<Wl_order> getAllstatus() {
        return wl_categoryMapper.getAllstatus();
    }

    @Override
    public List<Wl_order> getAllUserReminder() {
        return wl_categoryMapper.getAllUserReminder();
    }
    public List<Wl_order> getAllDim(String beginTime, String endTime)
    {
        return wl_categoryMapper.getAllDim(beginTime,endTime);
    }

}
